﻿@using DotNetCoreStudy.Web.Models
@model Employee

    <tr>
        <td>@Model.FirstName</td>
        <td>@Model.LastName</td>
        <td>@Model.Gender</td>
        <td>@(Model.Fired?"是":"否")</td>
        <td>
            <a asp-controller="Employee" asp-action="Edit" asp-route-employeeId="@Model.Id">Edit</a>&nbsp;
            <a asp-controller="Employee" asp-action="Fire" asp-route-employeeId="@Model.Id">Fire</a>
        </td>
    </tr>